package com.example.b_308.myapplication.view.user.register;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.b_308.myapplication.R;
import com.example.b_308.myapplication.view.base.BaseFragment;

/**
 * Created by B-308 on 2017/11/23.
 */
public class RegSuccessFragment extends BaseFragment implements View.OnClickListener{

    @Override
    protected void init() {
        findViewById(R.id.but_finished).setOnClickListener(this);
    }

    @Override
    protected View setContentView(LayoutInflater inflater) {
        return  inflater.inflate(R.layout.fragment_register_success,null,false);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.but_finished:
                ((RegisterActivity)getActivity()).next(this,null);
                break;
        }
    }
}
